<script>
  // Execute arbitrary code from somewhere else, via postMessage.
  window.addEventListener("message", event => eval(event.data));
  window.opener.postMessage("ready", "*");
</script>
